<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Gjs-1.58.5
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;33.&nbsp;GNOME Libraries and Desktop
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="geocode-glib.html" title=
          "geocode-glib-3.26.1">Prev</a>
          <p>
            geocode-glib-3.26.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gnome-autoar.html" title=
          "gnome-autoar-0.2.4">Next</a>
          <p>
            gnome-autoar-0.2.4
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="core.html" title=
          "Chapter&nbsp;33.&nbsp;GNOME Libraries and Desktop">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="gjs" name="gjs"></a>Gjs-1.58.5
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Gjs
        </h2>
        <p>
          <span class="application">Gjs</span> is a set of Javascript
          bindings for <span class="application">GNOME</span>.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://ftp.gnome.org/pub/gnome/sources/gjs/1.58/gjs-1.58.5.tar.xz">
                http://ftp.gnome.org/pub/gnome/sources/gjs/1.58/gjs-1.58.5.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnome.org/pub/gnome/sources/gjs/1.58/gjs-1.58.5.tar.xz">
                ftp://ftp.gnome.org/pub/gnome/sources/gjs/1.58/gjs-1.58.5.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 4e74456ccb16d4cc5004a441f6abbec1
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 624 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 89 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 1.0 SBU (with tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Gjs Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../x/cairo.html" title=
          "Cairo-1.17.2+f93fc72c03e">Cairo-1.17.2+f93fc72c03e</a>, <a class=
          "xref" href="../general/dbus.html" title=
          "dbus-1.12.16">dbus-1.12.16</a>, <a class="xref" href=
          "../general/gobject-introspection.html" title=
          "gobject-introspection-1.62.0">gobject-introspection-1.62.0</a>,
          and <a class="xref" href="../general/js60.html" title=
          "JS-60.8.0">js60-60.8.0</a>
        </p>
        <h4>
          Recommended (required for GNOME)
        </h4>
        <p class="recommended">
          <a class="xref" href="../x/gtk3.html" title=
          "GTK+-3.24.13">GTK+-3.24.13</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/valgrind.html" title=
          "Valgrind-3.15.0">Valgrind-3.15.0</a> (for tests), <a class="ulink"
          href="http://dtrace.org/blogs/about">DTrace</a>, <a class="ulink"
          href="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</a>,
          <a class="ulink" href=
          "http://ftp.gnome.org/pub/gnome/sources/sysprof/">Sysprof</a>, and
          <a class="ulink" href=
          "https://sourceware.org/systemtap">Systemtap</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/gjs">http://wiki.linuxfromscratch.org/blfs/wiki/gjs</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Gjs
        </h2>
        <p>
          Install <span class="application">Gjs</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>. The <span class="application">GTK</span> and
          <span class="application">Cairo</span> tests will fail if not
          running in an Xorg session. Two tests related to testCommandLine.sh
          (6 and 7) are known to fail.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">gjs (symlink) and gjs-console</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libgjs.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/gjs-1.0, /usr/lib/gjs, and
              /usr/share/gjs-1.0</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="gjs-console" name="gjs-console"></a><span class=
                    "term"><span class=
                    "command"><strong>gjs-console</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains a console to run <span class=
                    "application">JavaScript</span> commands.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgjs" name="libgjs"></a><span class=
                    "term"><code class="filename">libgjs.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the <span class="application">GNOME</span>
                    JavaScript bindings.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-25 11:39:19 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="geocode-glib.html" title=
          "geocode-glib-3.26.1">Prev</a>
          <p>
            geocode-glib-3.26.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gnome-autoar.html" title=
          "gnome-autoar-0.2.4">Next</a>
          <p>
            gnome-autoar-0.2.4
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="core.html" title=
          "Chapter&nbsp;33.&nbsp;GNOME Libraries and Desktop">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
